﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:ec="clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions" xmlns:eim="clr-namespace:Microsoft.Expression.Interactivity.Media;assembly=Microsoft.Expression.Interactions"
    x:Class="TestWP.MainPage"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    SupportedOrientations="Portrait" Orientation="Portrait"
    shell:SystemTray.IsVisible="True">
	<phone:PhoneApplicationPage.Resources>
		<Storyboard x:Name="ImageShowAni">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox1">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox2">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox3">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox4">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox5">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox6">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox7">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox8">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox9">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox10">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox11">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox12">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox13">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox14">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="viewbox15">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.2"/>
				<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.4"/>
				<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.6"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.8"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Style x:Key="ViewBoxCustom" TargetType="Viewbox"/>
		<Style x:Key="ButtonGame" TargetType="Button">
			<Setter Property="Background" Value="Transparent"/>
			<Setter Property="BorderBrush" Value="{StaticResource PhoneForegroundBrush}"/>
			<Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
			<Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
			<Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
			<Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
			<Setter Property="Padding" Value="10,3,10,5"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid x:Name="grid" Background="Transparent" RenderTransformOrigin="0.5,0.5">
							<Grid.RenderTransform>
								<CompositeTransform/>
							</Grid.RenderTransform>
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualStateGroup.Transitions>
									</VisualStateGroup.Transitions>
									<VisualState x:Name="Normal">
										<Storyboard>
											<ColorAnimation Duration="0" To="#FF3572A4" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="grid" d:IsOptimized="True"/>
											<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="grid" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="MouseOver">
										<Storyboard>
											<ColorAnimation Duration="0" To="#FFB0B0B0" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="grid" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Pressed">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneBackgroundBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="ButtonBackground">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneForegroundBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneForegroundBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<DoubleAnimation Duration="0" To="-2" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="grid" d:IsOptimized="True"/>
											<ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="grid" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Disabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="ButtonBackground">
												<DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
								<VisualStateGroup x:Name="FocusStates"/>
							</VisualStateManager.VisualStateGroups>
							<Border x:Name="ButtonBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="0" Margin="{StaticResource PhoneTouchTargetOverhang}">
								<ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
							</Border>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
    </phone:PhoneApplicationPage.Resources>

	<phone:PhoneApplicationPage.FontFamily>
		<StaticResource ResourceKey="PhoneFontFamilyNormal"/>
	</phone:PhoneApplicationPage.FontFamily>
	<phone:PhoneApplicationPage.FontSize>
		<StaticResource ResourceKey="PhoneFontSizeNormal"/>
	</phone:PhoneApplicationPage.FontSize>
	<phone:PhoneApplicationPage.Foreground>
		<StaticResource ResourceKey="PhoneForegroundBrush"/>
	</phone:PhoneApplicationPage.Foreground>

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
        	<RowDefinition Height="Auto"/>
        	<RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        
        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
        	<Grid.Background>
        		<ImageBrush Stretch="Fill" ImageSource="/Resources/images/BorderGame.png"/>
        	</Grid.Background>
            <Grid HorizontalAlignment="Center" VerticalAlignment="Center" Width="400" Height="400" Margin="31,150,25,218">
                <Grid.Background>
                    <ImageBrush Stretch="Fill" ImageSource="/Resources/images/GridGame.png"/>
                </Grid.Background>
                <Viewbox x:Name="viewbox" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Left" VerticalAlignment="Top" Style="{StaticResource ViewBoxCustom}" Margin="25,20,0,0">
                    <Image x:Name="img1" />
                </Viewbox>
                <Viewbox x:Name="viewbox1" Stretch="Fill" Width="76" Height="75" VerticalAlignment="Top" HorizontalAlignment="Left" Canvas.ZIndex="1" Margin="115,20,0,0">
                    <Image x:Name="img2"/>
                </Viewbox>
                <Viewbox x:Name="viewbox2" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,20,112,0">
                    <Image x:Name="img3"/>
                </Viewbox>
                <Viewbox x:Name="viewbox3" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Left" Margin="309,20,0,305">
                    <Image x:Name="img4"/>
                </Viewbox>
                <Viewbox x:Name="viewbox4" Stretch="Fill" Width="75" Height="75" Margin="25,113,300,212">
                    <Image x:Name="img5"/>
                </Viewbox>
                <Viewbox x:Name="viewbox5" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Right" Margin="0,113,209,212">
                    <Image x:Name="img6"/>
                </Viewbox>
                <Viewbox x:Name="viewbox6" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="213,0,0,212">
                    <Image x:Name="img7"/>
                </Viewbox>
                <Viewbox x:Name="viewbox7" Stretch="Fill" Width="75" Height="75" VerticalAlignment="Bottom" Margin="309,0,16,212">
                    <Image x:Name="img8"/>
                </Viewbox>
                <Viewbox x:Name="viewbox8" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,300,111">
                    <Image x:Name="img9"/>
                </Viewbox>
                <Viewbox x:Name="viewbox9" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,209,111">
                    <Image x:Name="img10"/>
                </Viewbox>
                <Viewbox x:Name="viewbox10" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,112,111">
                    <Image x:Name="img11"/>
                </Viewbox>
                <Viewbox x:Name="viewbox11" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,111">
                    <Image x:Name="img12"/>
                </Viewbox>
                <Viewbox x:Name="viewbox12" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,300,12">
                    <Image x:Name="img13"/>
                </Viewbox>
                <Viewbox x:Name="viewbox13" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,209,12">
                    <Image x:Name="img14"/>
                </Viewbox>
                <Viewbox x:Name="viewbox14" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,112,12">
                    <Image x:Name="img15"/>
                </Viewbox>
                <Viewbox x:Name="viewbox15" Stretch="Fill" Width="75" Height="75" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,12">
                    <Image x:Name="img16"/>
                </Viewbox>
            </Grid>
            <Button x:Name="btnChoose" Content="Choose picture" HorizontalAlignment="Left" Margin="114,684,0,0" VerticalAlignment="Top" Click="Button_Click_2" Style="{StaticResource ButtonGame}" FontFamily="/TestWP;component/Resources/Fonts/dfgameover.ttf#DF-GameOver"/>
            <TextBlock HorizontalAlignment="Left" Height="56" Margin="31,10,0,0" TextWrapping="Wrap" Text="Despicable Me 2" VerticalAlignment="Top" Width="400" FontFamily="/TestWP;component/Resources/Fonts/dfgameover.ttf#DF-GameOver" FontSize="36" Foreground="#DEFFFFFF" TextAlignment="Center"/>
            <TextBlock x:Name="lbTiming" HorizontalAlignment="Left" Height="28" Margin="31,102,0,0" TextWrapping="Wrap" Text="Time:" VerticalAlignment="Top" Width="227" FontFamily="/TestWP;component/Resources/Fonts/dfgameover.ttf#DF-GameOver"/>
            <TextBlock x:Name="lbScore" HorizontalAlignment="Center" Height="28" Margin="251,102,0,0" TextWrapping="Wrap" Text="Score:" VerticalAlignment="Top" Width="180" FontFamily="/TestWP;component/Resources/Fonts/dfgameover.ttf#DF-GameOver"/>
            <StackPanel HorizontalAlignment="Left" Height="400" VerticalAlignment="Top" Width="400" Margin="31,150,0,0" ManipulationCompleted="StackPanel_ManipulationCompleted"/>
            <Button Content="Up" HorizontalAlignment="Left" Margin="196,555,0,0" VerticalAlignment="Top"/>
        </Grid>
        
    </Grid>
 
</phone:PhoneApplicationPage>